#include "server.h"
#include <stdio.h>
#include <stdlib.h>

int main(int argc, char const *argv[]) {
    if (argc != 3) {
        fprintf(stderr, "parameter error\n");
        return -1;
    }
    server_init(argv[1], atoi(argv[2]));
    server_run();
    return 0;
}